package com.magima.core.app;

import java.util.List;

/**
 * Created by magima on 15-1-13.
 */
public interface IPromptEntry {
    public IPromptEntry addListener(PromptCallback callback);
    public IPromptEntry removeListener(PromptCallback callback);

    public void addChild(IPromptEntry data);
    public void removeChild(IPromptEntry entry);
    public IPromptEntry findByName(String name);
    public void moveTo(IPromptEntry newParentDot);
    public void resetChildren(List<IPromptEntry> childList);
    public int getShowingValue();
    public String getName();
    public int getValue();
    public void setValue(int value);
    public void notifyValueChange();
    public IPromptEntry getParentEntry();
}
